Matthias Clasen [Sun, 16 Apr 2006 05:05:49 +0000 (05:05 +0000)]
Avoid a possible array overrun. (Coverity)
2006-04-16 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (set_initial_hints ): Avoid a
possible array overrun. (Coverity)
Matthias Clasen [Sun, 16 Apr 2006 05:01:46 +0000 (05:01 +0000)]
Avoid a possible array overrun. (Coverity)
2006-04-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c (gtk_calendar_key_press): Avoid a
possible array overrun. (Coverity)
Matthias Clasen [Sun, 16 Apr 2006 04:45:02 +0000 (04:45 +0000)]
fix another Coverity bug.
Matthias Clasen [Sun, 16 Apr 2006 04:39:46 +0000 (04:39 +0000)]
Add short descriptions
Matthias Clasen [Sun, 16 Apr 2006 04:08:54 +0000 (04:08 +0000)]
Cosmetic fixes
Matthias Clasen [Sun, 16 Apr 2006 03:55:07 +0000 (03:55 +0000)]
Fix 336772
Anders Carlsson [Thu, 13 Apr 2006 08:51:33 +0000 (08:51 +0000)]
Take grabs into account.
2006-04-13 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkevents-quartz.c:
(synthesize_enter_event):
(synthesize_leave_event):
(synthesize_crossing_events):
Take grabs into account.
(find_window_for_event):
Only return grabbed window when owner_events is FALSE.
Matthias Clasen [Thu, 13 Apr 2006 04:31:51 +0000 (04:31 +0000)]
Reorganize slightly to avoid a possible NULL dereference. (Coverity)
2006-04-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_header_focus): Reorganize slightly
to avoid a possible NULL dereference. (Coverity)
Matthias Clasen [Thu, 13 Apr 2006 03:40:48 +0000 (03:40 +0000)]
Don't allow passing NULL for x1 or x2, adjust callers.
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_get_arrow_xrange): Don't
allow passing NULL for x1 or x2, adjust callers.
Matthias Clasen [Thu, 13 Apr 2006 03:20:43 +0000 (03:20 +0000)]
Reorganize to avoid a possible NULL pointer dereference. (Coverity)
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_get_neighbor_sizes):
Reorganize to avoid a possible NULL pointer dereference. (Coverity)
Matthias Clasen [Wed, 12 Apr 2006 21:22:42 +0000 (21:22 +0000)]
Reorganize to avoid a possible NULL dereference. (Coverity)
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_page_allocate): Reorganize
to avoid a possible NULL dereference. (Coverity)
Matthias Clasen [Wed, 12 Apr 2006 20:43:52 +0000 (20:43 +0000)]
Fix another Coverity bug
Matthias Clasen [Wed, 12 Apr 2006 19:48:27 +0000 (19:48 +0000)]
modules/engines/pixbuf/Makefile.am Build fixes for Cygwin. (#338262)
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* contrib/gdk-pixbuf-xlib/Makefile.am:
* modules/engines/pixbuf/Makefile.am
* gdk-pixbuf/Makefile.am: Build fixes for Cygwin. (#338262)
Matthias Clasen [Wed, 12 Apr 2006 18:38:40 +0000 (18:38 +0000)]
Make this work for list == NULL. (Coverity)
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkselection-x11.c (make_list): Make this work
for list == NULL. (Coverity)
Matthias Clasen [Wed, 12 Apr 2006 17:57:30 +0000 (17:57 +0000)]
Rearrange the code a bit.
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkkeys-x11.c (gdk_keymap_get_entries_for_keycode):
Rearrange the code a bit.
Matthias Clasen [Wed, 12 Apr 2006 16:28:54 +0000 (16:28 +0000)]
Handle _gtk_text_line_get_data() returning NULL in all cases. (Coverity)
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_validate_yrange):
Handle _gtk_text_line_get_data() returning NULL in all
cases. (Coverity)
Matthias Clasen [Wed, 12 Apr 2006 13:32:47 +0000 (13:32 +0000)]
Make find_menu_position and find_toolbar_position void. (#338100)
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c: Make find_menu_position and
find_toolbar_position void. (#338100)
Anders Carlsson [Wed, 12 Apr 2006 09:35:34 +0000 (09:35 +0000)]
Handle page up and page down.
2006-04-12 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkkeys-quartz.c:
Handle page up and page down.
Anders Carlsson [Wed, 12 Apr 2006 08:23:01 +0000 (08:23 +0000)]
Don't flush if we're inside a begin_paint/end_paint pair.
2006-04-12 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkdrawable-quartz.c:
(_gdk_quartz_drawable_release_context):
Don't flush if we're inside a begin_paint/end_paint pair.
* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_impl_quartz_end_paint):
Free clip region here.
Matthias Clasen [Wed, 12 Apr 2006 04:49:18 +0000 (04:49 +0000)]
Don't pass a negative value as string length to get_child_node().
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (start_element_handler): Don't pass
a negative value as string length to get_child_node(). (Coverity)
Matthias Clasen [Wed, 12 Apr 2006 04:22:51 +0000 (04:22 +0000)]
Better fix
Matthias Clasen [Wed, 12 Apr 2006 04:20:28 +0000 (04:20 +0000)]
Fix another Coverity bug
Matthias Clasen [Wed, 12 Apr 2006 04:13:06 +0000 (04:13 +0000)]
Silently do nothing if the widget is not a child. (Coverity)
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_remove): Silently do nothing
if the widget is not a child. (Coverity)
Matthias Clasen [Wed, 12 Apr 2006 03:52:40 +0000 (03:52 +0000)]
Fix another Coverity bug
Matthias Clasen [Wed, 12 Apr 2006 02:48:43 +0000 (02:48 +0000)]
Remove some unused variables.
2006-04-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (selection_motion_event_handler): Remove
some unused variables.
* gtk/gtktreeview.c ((gtk_tree_view_search_position_func): Apply
a patch from David Trowbridge to improve the positioning of the
search popup. (#338047)
Emmanuele Bassi [Tue, 11 Apr 2006 21:04:15 +0000 (21:04 +0000)]
Remove the unneeded setting of the storage file inside the constructor.
2006-04-11 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/gtkrecentmanager.c (gtk_recent_manager_init)
(gtk_recent_manager_new): Remove the unneeded setting of the
storage file inside the constructor. (Murray Cumming)
(build_recent_items_list): Reset the dirty bit when done rebuilding
the list from the storage file.
Matthias Clasen [Tue, 11 Apr 2006 16:41:25 +0000 (16:41 +0000)]
Silence compiler warnings.
2006-04-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkscale.c (gtk_scale_get_layout_offsets): Silence
compiler warnings.
Matthias Clasen [Tue, 11 Apr 2006 16:26:26 +0000 (16:26 +0000)]
Don't dereference info before checking it for NULL. (Coverity)
2006-04-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkinputdialog.c (gtk_input_dialog_set_mapping_mode): Don't
dereference info before checking it for NULL. (Coverity)
Vincent van Adrighem [Tue, 11 Apr 2006 09:03:20 +0000 (09:03 +0000)]
Translation updated by Tino Meinen.
2006-04-11 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.
Anders Carlsson [Mon, 10 Apr 2006 23:17:26 +0000 (23:17 +0000)]
Have GdkWindowImplQuartz implement GdkPaintable.
2006-04-11 Anders Carlsson <andersca@mac.imendio.com>
* gdk/quartz/GdkQuartzView.c:
(-[GdkQuartzView drawRect:]):
* gdk/quartz/gdkdrawable-quartz.c:
(gdk_quartz_ref_cairo_surface):
(_gdk_quartz_drawable_get_context):
(_gdk_quartz_drawable_release_context):
* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_impl_quartz_finalize):
(gdk_window_impl_quartz_class_init):
(gdk_window_impl_quartz_begin_paint_region):
(gdk_window_impl_quartz_end_paint):
(gdk_window_impl_quartz_invalidate_maybe_recurse):
(gdk_window_impl_quartz_process_updates):
(gdk_window_impl_quartz_paintable_init):
(_gdk_window_impl_quartz_get_type):
* gdk/quartz/gdkwindow-quartz.h:
Have GdkWindowImplQuartz implement GdkPaintable.
Michael Natterer [Mon, 10 Apr 2006 20:18:31 +0000 (20:18 +0000)]
pasted rich text should not be affected by tags that are active at the
2006-04-10 Michael Natterer <mitch@imendio.com>
* gtk/gtktextbufferrichtext.c (gtk_text_buffer_deserialize):
pasted rich text should not be affected by tags that are active at
the insertion point. Therefore, remove and remember all active
tags, and re-apply them left and right of the inserted text after
pasting. Fixes bug #337653.
Anders Carlsson [Mon, 10 Apr 2006 19:43:08 +0000 (19:43 +0000)]
Add new GdkPaintable interface which implementation objects can implement
2006-04-11 Anders Carlsson <andersca@imendio.com>
* gdk/gdkinternals.h:
* gdk/gdkwindow.c:
(_gdk_paintable_get_type):
(gdk_window_begin_paint_region):
(gdk_window_end_paint):
(gdk_window_process_updates):
(gdk_window_invalidate_maybe_recurse):
Add new GdkPaintable interface which implementation objects can
implement in order to override gdk painting functions.
Vladimer Sichinava [Mon, 10 Apr 2006 00:29:44 +0000 (00:29 +0000)]
Updated Georgian translation
Hans Breuer [Fri, 7 Apr 2006 17:18:08 +0000 (17:18 +0000)]
updated
2006-04-07 Hans Breuer <hans@breuer.org>
* gtk/makefile.msc.in tests/makefile.msc : updated
Priit Laes [Fri, 7 Apr 2006 08:02:44 +0000 (08:02 +0000)]
Translation updated by Ivar Smolin.
2006-04-07 Priit Laes <amd@store20.com>
* et.po: Translation updated by Ivar Smolin.
Tor Lillqvist [Thu, 6 Apr 2006 10:34:15 +0000 (10:34 +0000)]
Correct the appearance of non-square icons and cursors: pad them to square
2006-04-06 Tor Lillqvist <tml@novell.com>
Correct the appearance of non-square icons and cursors: pad them
to square so that Windows won't stretch them.
* gdk/win32/gdkcursor-win32.c (create_alpha_bitmap)
(create_color_bitmap): Always create square bitmaps, take only
side length as argument.
(pixbuf_to_hbitmaps_alpha_winxp, pixbuf_to_hbitmaps_normal):
Corresponding changes.
Matthias Clasen [Thu, 6 Apr 2006 03:29:48 +0000 (03:29 +0000)]
More accidental commits
Matthias Clasen [Thu, 6 Apr 2006 03:12:04 +0000 (03:12 +0000)]
Revert accidental changes
Matthias Clasen [Thu, 6 Apr 2006 02:48:40 +0000 (02:48 +0000)]
Lower the window, to prevent late-constructed text windows from covering
2006-04-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (text_window_realize): Lower the window, to
prevent late-constructed text windows from covering child
widgets. (#336796, Yevgen Muntyan)
Matthias Clasen [Thu, 6 Apr 2006 02:18:57 +0000 (02:18 +0000)]
One more optimization
Matthias Clasen [Thu, 6 Apr 2006 01:58:38 +0000 (01:58 +0000)]
Rework the code which emits ::grab-notify signals to ensure that we emit
2006-04-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.c (gtk_grab_add, gtk_grab_remove, gtk_grab_notify)
(gtk_grab_notify_foreach): Rework the code which emits ::grab-notify
signals to ensure that we emit enough signals. Also optimize the
code to not do unnecessary tree walking.
* gtk/gtkwidget.c (gtk_widget_class_init): Document ::grab-notify.
Paolo Borelli [Wed, 5 Apr 2006 18:30:46 +0000 (18:30 +0000)]
handle the case of \r and \n split across lines. Bug #337022. add unit
2006-04-05 Paolo Borelli <pborelli@katamail.com>
* gtk/gtktextiter.c (gtk_text_iter_ends_line): handle the case of \r
and \n split across lines. Bug #337022.
* tests/testtextbuffer.c: add unit test.
Søren Sandmann [Tue, 4 Apr 2006 17:51:15 +0000 (17:51 +0000)]
Add "_private" to make it build.
Tue Apr 4 12:25:36 2006 Søren Sandmann <sandmann@redhat.com>
* gdk/x11/gdkimage-x11.c (gdk_image_class_init): Add "_private" to
make it build.
Matthias Clasen [Tue, 4 Apr 2006 14:02:03 +0000 (14:02 +0000)]
Use G_DEFINE_TYPE.
2006-04-04 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkdisplay.c:
* gdk/gdkdisplaymanager.c:
* gdk/gdkdraw.c:
* gdk/gdkkeys.c:
* gdk/gdkpixmap.c:
* gdk/gdkscreen.c:
* gdk/gdkwindow.c:
* gdk/x11/gdkcolor-x11.c:
* gdk/x11/gdkdisplay-x11.c:
* gdk/x11/gdkdnd-x11.c:
* gdk/x11/gdkdrawable-x11.c:
* gdk/x11/gdkgc-x11.c:
* gdk/x11/gdkimage-x11.c:
* gdk/x11/gdkinput.c:
* gdk/x11/gdkpixmap-x11.c:
* gdk/x11/gdkscreen-x11.c:
* gdk/x11/gdkwindow-x11.c: Use G_DEFINE_TYPE.
* gdk/x11/gdkcolor-x11.c:
* gdk/x11/gdkdnd-x11.c:
* gdk/x11/gdkimage-x11.c: Use instance private data.
Matthias Clasen [Tue, 4 Apr 2006 13:35:59 +0000 (13:35 +0000)]
Use G_DEFINE_TYPE
Matthias Clasen [Tue, 4 Apr 2006 04:14:17 +0000 (04:14 +0000)]
Small savings
Matthias Clasen [Tue, 4 Apr 2006 03:52:36 +0000 (03:52 +0000)]
Make gtk_args const
Matthias Clasen [Tue, 4 Apr 2006 03:49:32 +0000 (03:49 +0000)]
Move a constant string to rodata
Matthias Clasen [Tue, 4 Apr 2006 03:37:18 +0000 (03:37 +0000)]
Small savings
Matthias Clasen [Tue, 4 Apr 2006 03:25:16 +0000 (03:25 +0000)]
No point in making the error path fast by caching quarks.
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrecentchooser.c (gtk_recent_chooser_error_quark):
* gtk/gtkrecentmanager.c (gtk_recent_manager_error_quark):
* gtk/gtkfilechooser.c (gtk_file_chooser_error_quark):
* gtk/gtkfilesystem.c (gtk_file_system_error_quark):
* gtk/gtkicontheme.c (gtk_icon_theme_error_quark): No point
in making the error path fast by caching quarks.
Matthias Clasen [Tue, 4 Apr 2006 03:06:39 +0000 (03:06 +0000)]
Avoid relocation
Tor Lillqvist [Mon, 3 Apr 2006 21:04:34 +0000 (21:04 +0000)]
Mention that the Win32 backend should not be used from multiple threads.
2006-04-04 Tor Lillqvist <tml@novell.com>
* gdk/tmpl/threads.sgml: Mention that the Win32 backend should not
be used from multiple threads.
Matthias Clasen [Mon, 3 Apr 2006 20:38:09 +0000 (20:38 +0000)]
Here too.
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk.c: Here too.
Matthias Clasen [Mon, 3 Apr 2006 20:36:52 +0000 (20:36 +0000)]
Make _gdk_windowing_args const.
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkinternals.h:
* gdk/x11/gdkmain-x11.c:
* gdk/win32/gdkmain-win32.c:
* gdk/directfb/gdkdisplay-directfb.c:
* gdk/quartz/gdkmain-quartz.c: Make _gdk_windowing_args const.
Matthias Clasen [Mon, 3 Apr 2006 18:12:04 +0000 (18:12 +0000)]
Include gdksreen.h (#337032, Kazuki IWAMOTO)
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gdk/win32/gdkpixmap-win32.c: Include gdksreen.h (#337032,
Kazuki IWAMOTO)
Matthias Clasen [Mon, 3 Apr 2006 18:09:05 +0000 (18:09 +0000)]
Mention that %NULL is allowed. (#336937, Christian Neumair)
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Mention
that %NULL is allowed. (#336937, Christian Neumair)
Matthias Clasen [Mon, 3 Apr 2006 16:21:41 +0000 (16:21 +0000)]
Get rid of an unnecessary static variable.
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.c: Get rid of an unnecessary static variable.
Matthias Clasen [Mon, 3 Apr 2006 15:50:30 +0000 (15:50 +0000)]
Fix a warning.
* gtk/gtktextlayout.c: Fix a warning.
* gtk/gtktextsegment.h:
* gtk/gtktextsegment.c:
* gtk/gtktextchild.c:
* gtk/gtktextbtree.c:
* gtk/gtktextmark.c:
* gtk/gtktexttypes.h: Make the segment class pointers const.
* gtk/gtktextbufferserialize.c: Make parser struct const.
* gtk/gtkuimanager.c: Make parser struct const.
Matthias Clasen [Mon, 3 Apr 2006 15:06:41 +0000 (15:06 +0000)]
Make the default colors const.
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklinkbutton.c: Make the default colors const.
Stanislav Brabec [Mon, 3 Apr 2006 11:25:00 +0000 (11:25 +0000)]
bn.po, br.po, dz.po, es.po, mk.po, ru.po, xh.po: Context translation bug fixes (#336645).
Matthias Clasen [Mon, 3 Apr 2006 05:19:42 +0000 (05:19 +0000)]
Avoid relocations.
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c: Avoid relocations.
Matthias Clasen [Mon, 3 Apr 2006 04:50:18 +0000 (04:50 +0000)]
Reduce size of static buffer.
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkxembed.c (_gtk_xembed_message_name): Reduce size of static
buffer.
Matthias Clasen [Mon, 3 Apr 2006 04:41:05 +0000 (04:41 +0000)]
Avoid relocations.
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktext.c (gtk_text_key_press): Avoid relocations.
Matthias Clasen [Mon, 3 Apr 2006 04:17:10 +0000 (04:17 +0000)]
Allocate the gtk_rc_default_files array dynamically.
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrc.c (gtk_rc_add_initial_default_files)
(gtk_rc_add_default_file): Allocate the gtk_rc_default_files array
dynamically.
Matthias Clasen [Mon, 3 Apr 2006 03:57:29 +0000 (03:57 +0000)]
Avoid relocations for the array of symbol names.
2006-04-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrc.c: Avoid relocations for the array of symbol names.
Matthias Clasen [Mon, 3 Apr 2006 01:41:38 +0000 (01:41 +0000)]
Remove unused strings from the ruler_metrics structs, to avoid
2006-04-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkruler.c: Remove unused strings from the ruler_metrics
structs, to avoid relocations. (#336917, Stephane Chauveau)
Emmanuele Bassi [Sun, 2 Apr 2006 21:33:43 +0000 (21:33 +0000)]
Build the items list after setting the storage file.
2006-04-02 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/gtkrecentmanager.c (gtk_recent_manager_set_filename): Build
the items list after setting the storage file.
* gtk/gtkrecentmanager.c (display_closed): Use the right string
for unsetting the default manager object from the screen.
Alexander Shopov [Sun, 2 Apr 2006 14:03:40 +0000 (14:03 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2006-04-02 Alexander Shopov <ash@contact.bg>
* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>
Behdad Esfahbod [Sun, 2 Apr 2006 01:40:26 +0000 (01:40 +0000)]
Oops. (#336784)
2006-04-01 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkfilesel.c (gtk_file_selection_get_filename): Oops. (#336784)
Behdad Esfahbod [Sat, 1 Apr 2006 20:06:15 +0000 (20:06 +0000)]
Use a GString instead of static buffer to reduce .bss by 8kb. (#336784)
2006-04-01 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkfilesel.c (gtk_file_selection_get_filename): Use a GString
instead of static buffer to reduce .bss by 8kb. (#336784)
Dom Lachowicz [Sat, 1 Apr 2006 16:28:00 +0000 (16:28 +0000)]
Emulate WinXP's drawing of menu separators
Pawan Chitrakar [Sat, 1 Apr 2006 07:08:50 +0000 (07:08 +0000)]
updated with context string removed
Behdad Esfahbod [Sat, 1 Apr 2006 04:48:31 +0000 (04:48 +0000)]
Convert filenames to UTF-8 before printing them out in warning messages.
2006-03-31 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkrecentmanager.c: Convert filenames to UTF-8 before printing
them out in warning messages. (#336770, Morten Welinder)
Behdad Esfahbod [Sat, 1 Apr 2006 00:44:55 +0000 (00:44 +0000)]
Update last_stamp inside the look. (#336771, Morten Welinder)
2006-03-31 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkrecentmanager.c (gtk_recent_info_last_application): Update
last_stamp inside the look. (#336771, Morten Welinder)
Behdad Esfahbod [Sat, 1 Apr 2006 00:28:27 +0000 (00:28 +0000)]
Add missing break. (#336769, Morten Welinder)
2006-03-31 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_get_property):
Add missing break. (#336769, Morten Welinder)
Behdad Esfahbod [Sat, 1 Apr 2006 00:25:00 +0000 (00:25 +0000)]
Return NULL instead of FALSE in g_return_val_if_fail in a
2006-03-31 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkfilesystem.c (gtk_file_system_get_bookmark_label):
* gtk/gtklinkbutton.c (gtk_link_button_new_with_label): Return NULL
instead of FALSE in g_return_val_if_fail in a pointer-returning
function. (#336764, Morten Welinder)
Gora Mohanty [Fri, 31 Mar 2006 21:33:23 +0000 (21:33 +0000)]
configure.in: Added 'or' (Oriya) to ALL_LINGUAS.
ChangeLog: Changed to reflect this.
po/or.po: Added Oriya translation.
po/ChangeLog: Changed to reflect this.
po-properties/or.po: Added Oriya translation.
po-properties/ChangeLog: Changed to reflect this.
Matthias Clasen [Fri, 31 Mar 2006 21:20:14 +0000 (21:20 +0000)]
Don't assert that the age is positive. (#336773, Morten Welinder)
2006-03-31 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrecentmanager.c (gtk_recent_info_get_age): Don't
assert that the age is positive. (#336773, Morten Welinder)
Laurent Dhima [Fri, 31 Mar 2006 08:29:44 +0000 (08:29 +0000)]
Updated Albanian translation.
* sq.po: Updated Albanian translation.
Laurent Dhima [Fri, 31 Mar 2006 08:27:09 +0000 (08:27 +0000)]
Updated Albanian translation.
Matthias Clasen [Fri, 31 Mar 2006 06:31:50 +0000 (06:31 +0000)]
Updates
Matthias Clasen [Fri, 31 Mar 2006 06:09:33 +0000 (06:09 +0000)]
Shrink this
Matthias Clasen [Fri, 31 Mar 2006 05:17:56 +0000 (05:17 +0000)]
Don't leak the keyfile parser in the error case.
2006-03-31 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkicontheme.c (load_icon_data): Don't leak the keyfile
parser in the error case.
* gtk/gtkicontheme.c (load_icon_data, free_unthemed_icon)
(icon_data_free, load_themes):
* gtk/gtkiconcache.c (_gtk_icon_cache_get_icon_data): Use the slice
allocator for GtkIconData and UnthemedIcon structs.
Behdad Esfahbod [Thu, 30 Mar 2006 22:56:09 +0000 (22:56 +0000)]
Fix translation comments for localizable digit formats. (fixes bug
2006-03-30 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkcalendar.c: Fix translation comments for localizable
digit formats. (fixes bug #336650)
Matthias Clasen [Thu, 30 Mar 2006 21:30:37 +0000 (21:30 +0000)]
Fix the doc comment format.
2006-03-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrecentmanager.h (struct _GtkRecentData): Fix the doc
comment format.
* gtk/gtkrecentmanager.c (gtk_recent_manager_has_item)
(gtk_recent_manager_purge_items, gtk_recent_manager_lookup_item)
(gtk_recent_manager_get_limit, gtk_recent_manager_add_full)
(gtk_recent_manager_get_items, gtk_recent_manager_remove_item):
* gtk/gtkrecentfilter.c (gtk_recent_filter_add_age):
* gtk/gtkrecentchooser.c (gtk_recent_chooser_set_show_numbers)
(gtk_recent_chooser_set_sort_func):
* gtk/gtknotebook.h (gtk_notebook_set_tab_detachable): Sync
parameter names between .c and .h files to help gtk-doc.
Matthias Clasen [Thu, 30 Mar 2006 20:59:22 +0000 (20:59 +0000)]
Additions
2006-03-30 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk-sections.txt: Additions
Matthias Clasen [Thu, 30 Mar 2006 20:56:03 +0000 (20:56 +0000)]
Reword docs to help gtk-doc.
2006-03-30 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkregion-generic.c (gdk_region_get_clipbox): Reword
docs to help gtk-doc.
Stanislav Brabec [Thu, 30 Mar 2006 20:43:38 +0000 (20:43 +0000)]
cs.po: Progress bar fix (#336645).
Guntupalli Karunakar [Thu, 30 Mar 2006 20:10:57 +0000 (20:10 +0000)]
Added Dzongkha translations
Matthias Clasen [Thu, 30 Mar 2006 18:52:52 +0000 (18:52 +0000)]
Add recent chooser to the widget gallery
Matthias Clasen [Thu, 30 Mar 2006 18:22:39 +0000 (18:22 +0000)]
Make sure to get an icon window when constructing the fallback_icon. This
2006-03-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkdnd.c (gtk_drag_get_icon): Make sure to get an
icon window when constructing the fallback_icon. This
fixes a crash when dragging icons between screens in
nautilus. (#325751, Hylke van der Schaaf)
Michael David Emmel [Thu, 30 Mar 2006 16:14:18 +0000 (16:14 +0000)]
Added gdk_pixmap_foreign_new_for_screen
Emmanuele Bassi [Thu, 30 Mar 2006 15:49:22 +0000 (15:49 +0000)]
Add documentation for the GtkLinkButton (#336592)
2006-03-30 Emmanuele Bassi <ebassi@cvs.gnome.org>
Add documentation for the GtkLinkButton (#336592)
* docs/reference/tmpl/gtklinkbutton.sgml: Add description
of the GtkLinkButton.
* docs/reference/gtk/migrating-GtkLinkButton.sgml: Guidelines
for migrating code from GnomeHRef to the GtkLinkButton.
* docs/reference/gtk/gtk-docs.sgml:
* docs/reference/gtk/Makefile.am: Build glue for the porting
guide.
Behdad Esfahbod [Thu, 30 Mar 2006 09:07:59 +0000 (09:07 +0000)]
Add testrecentchooser.
Matthias Clasen [Thu, 30 Mar 2006 04:58:15 +0000 (04:58 +0000)]
Make it compile
Matthias Clasen [Thu, 30 Mar 2006 04:08:51 +0000 (04:08 +0000)]
New function to allow wrapping a native pixmap without a server roundtrip.
2006-03-29 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk.symbols:
* gdk/gdkpixmap.h:
* gdk/win32/gdkpixmap-win32.c:
* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new_for_screen):
New function to allow wrapping a native pixmap without
a server roundtrip. (#334954, David Baron)
Matthias Clasen [Wed, 29 Mar 2006 21:08:06 +0000 (21:08 +0000)]
Fix some symbol aliasing glitches
Emmanuele Bassi [Wed, 29 Mar 2006 21:01:36 +0000 (21:01 +0000)]
Make gtkalias.h the last included file.
2006-03-29 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/gtkrecentchoosermenu.c: Make gtkalias.h the last included file.
Emmanuele Bassi [Wed, 29 Mar 2006 20:48:56 +0000 (20:48 +0000)]
Fix a typo that broke aliasing rules.
2006-03-29 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/gtk.symbols: Fix a typo that broke aliasing rules.
Richard Hult [Wed, 29 Mar 2006 20:34:33 +0000 (20:34 +0000)]
Add missing CLIPBOARD atom.
2006-03-29 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkproperty-quartz.c: Add missing CLIPBOARD atom.